home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / src / mail / db.1.85.tar.gz / db.1.85.tar / db.1.85 / test / Makefile < prev    next >
Makefile  |  1994-08-28  |  665b  |  24 lines

  1. #    @(#)Makefile    8.15 (Berkeley) 7/28/94
  2.  
  3. PROG=    dbtest
  4. OBJS=    dbtest.o strerror.o
  5.  
  6. # Uncomment the STAT line get hash and btree statistical use info.  This
  7. # also forces ld to load the btree debug functions for use by gdb, which
  8. # is useful.  The db library has to be compiled with -DSTATISTICS as well.
  9. INC=    -I${PORTDIR}/include -I${PORTDIR}
  10. OORG=    -g
  11. #STAT=    -DSTATISTICS
  12. CFLAGS=    -D__DBINTERFACE_PRIVATE -DDEBUG ${STAT} ${OORG} ${INC}
  13.  
  14. dbtest: ${OBJS} ${PORTDIR}/libdb.a
  15.     ${CC} -o $@ ${OBJS} ${PORTDIR}/libdb.a
  16.  
  17. strerror.o: ${PORTDIR}/clib/strerror.c
  18.     ${CC} -c ${PORTDIR}/clib/strerror.c
  19.  
  20. clean:
  21.     rm -f dbtest.core gmon.out ${OBJS} ${PROG} t1 t2 t3
  22.  
  23. ${OBJS}: Makefile
  24.